package cn.lijiajia3515.cairo.core.business;


import lombok.Getter;
import lombok.experimental.Accessors;

/**
 * http 业务
 */
@Getter
@Accessors(fluent = true)
public enum HttpStatusBusiness implements Business {


	// -----------

	/**
	 * http method 请求不合法
	 */
	HttpMethodNoSupported("请求方法不支持"),

	/**
	 * 服务不可用
	 */
	ServiceUnavailable("服务不可用");


	public final String code = name();
	public final String message;


	HttpStatusBusiness(String message) {
		this.message = message;
	}
}
